package com.bootdo.order.dao;

import com.bootdo.order.domain.RechargeDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Desc
 * @date 2019/12/14
 *
 */
@Mapper
public interface RechargeDao {

    RechargeDO get(Long id);

    List<RechargeDO> queryRechargeOk(Long userId);

    List<RechargeDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int save(RechargeDO recharge);

    int update(RechargeDO recharge);

    List<RechargeDO> record(Map<String,Object> map);

    int recordCount(Map<String,Object> map);
}
